package com.example.xyh.service;


import com.example.xyh.entity.Business;
import org.springframework.stereotype.Service;

@Service
public interface BusinessService {
    com.example.xyh.dto.BusinessInfoDto login(String business_name, String password);

    com.example.xyh.dto.BusinessInfoDto findByBusinessName(String business_name);

    Business findByBusinessId(Integer business_id);

    com.example.xyh.dto.BusinessInfoDto save(String business_name, String password);
}
